Clover coverage report - Enterprise Web Services - 1.0
Coverage timestamp: Mon May 30 2005 17:10:32 CEST
file stats: LOC: 58   Methods: 4
NCLOC: 21   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
EJBLocalHomeWriter.java - 0% 0% 0%
coverage
 1   
 /*
 2   
  * Copyright 2001-2004 The Apache Software Foundation.
 3   
  * 
 4   
  * Licensed under the Apache License, Version 2.0 (the "License");
 5   
  * you may not use this file except in compliance with the License.
 6   
  * You may obtain a copy of the License at
 7   
  * 
 8   
  *      http://www.apache.org/licenses/LICENSE-2.0
 9   
  * 
 10   
  * Unless required by applicable law or agreed to in writing, software
 11   
  * distributed under the License is distributed on an "AS IS" BASIS,
 12   
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13   
  * See the License for the specific language governing permissions and
 14   
  * limitations under the License.
 15   
  */
 16   
 package org.apache.geronimo.ews.ws4j2ee.toWs.ejb;
 17   
 
 18   
 import org.apache.geronimo.ews.ws4j2ee.context.J2EEWebServiceContext;
 19   
 import org.apache.geronimo.ews.ws4j2ee.context.j2eeDD.EJBContext;
 20   
 import org.apache.geronimo.ews.ws4j2ee.toWs.GenerationFault;
 21   
 import org.apache.geronimo.ews.ws4j2ee.toWs.JavaInterfaceWriter;
 22   
 
 23   
 /**
 24   
  * This class can be used to write the appropriate EJB LocalHome interface
 25   
  * class for the given port type.
 26   
  *
 27   
  * @author Rajith Priyanga
 28   
  * @author Srinath Perera
 29   
  * @date Nov 26, 2003
 30   
  */
 31   
 public class EJBLocalHomeWriter extends JavaInterfaceWriter {
 32   
     private String name;
 33   
     protected EJBContext ejbcontext;
 34   
 
 35   
     /**
 36   
      * Constructs a EJBLocalHomeWriter.
 37   
      *
 38   
      * @param portType The port type which contains the details.
 39   
      * @throws GenerationFault
 40   
      */
 41  0
     public EJBLocalHomeWriter(J2EEWebServiceContext context, EJBContext ejbcontext) throws GenerationFault {
 42  0
         super(context, ejbcontext.getEjbLocalHomeInterfce());
 43  0
         this.ejbcontext = ejbcontext;
 44   
     }
 45   
 
 46  0
     protected void writeAttributes() throws GenerationFault {
 47   
     }
 48   
 
 49  0
     protected void writeMethods() throws GenerationFault {
 50  0
         out.write("\tpublic " + ejbcontext.getEjbLocalInterface() + " create()throws javax.ejb.CreateException;\n");
 51   
     }
 52   
 
 53  0
     protected String getExtendsPart() {
 54  0
         return " extends javax.ejb.EJBLocalHome ";
 55   
     }
 56   
 
 57   
 }
 58